package com.irdstudio.efp.cus.service.dao;

import com.irdstudio.efp.cus.service.domain.BlackListInfo;
import com.irdstudio.efp.cus.service.vo.BlackListInfoVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>DAO interface:黑名单信息表				<p>
 * @author ligm
 * @date 2019-08-10
 */
public interface BlackListInfoDao {

	public int insertBlackListInfo(BlackListInfo blackListInfo);

	public int deleteByPk(BlackListInfo blackListInfo);

	public int updateByPk(BlackListInfo blackListInfo);

	public BlackListInfo queryByPk(BlackListInfo blackListInfo);

	public List<BlackListInfo> queryAllOwnerByPage(BlackListInfoVO blackListInfo);

	public List<BlackListInfo> queryAllCurrOrgByPage(BlackListInfoVO blackListInfo);

	public List<BlackListInfo> queryAllCurrDownOrgByPage(BlackListInfoVO blackListInfo);
	public List<BlackListInfo> queryBlackListInfoByPage(BlackListInfo blackListInfo);

	public int insertBlackListInfoBatch(@Param("inserBlackListInfo") List<BlackListInfoVO> inserBlackListInfo);
//	public int insertBlackListInfoBatch(List<BlackListInfo> list);
//	public int updateBlackListInfoBatch(List<BlackListInfo> blackListInfoList);

	public int batchDeleteByPk(@Param("blackInfoList") List<String> blackInfoList);

    public List<BlackListInfo> queryByCertCodeAndType(BlackListInfo blackListInfo);

}
